/*
 * $Id$
 */
package corejs.expr;


import corejs.rt.ActivationRecord;
import corejs.rt.Bool;

import corejs.util.XmlPrinter;

public class BoolExpr implements Expression {
   
   final boolean _bool;
   
   public BoolExpr(final boolean b) {
      _bool = b;
   }
   
   @Override
   public void print(XmlPrinter printer) {
   }

   @Override
   public Object eval(ActivationRecord scope) {
      return null;
   }

   @Override
   public Bool accept(final ExpressionVisitor v) {
      return v.visitBool(_bool);
   }
}
